home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 210
/
210.d81
/
t.godot loader
< prev
next >
Wrap
Text File
|
2022-08-26
|
3KB
|
121 lines
u
G O D O T L O A D E R
by Arndt Dettke
[Note:] I sent LOADSTAR 209 to Arndt
so he could see his great GoDot
program as presented here. He
immediately responded:
First off, thank you for promoting
GoDot on Loadstar. I really appreciate
seeing GoDot receiving some attention
from such an important side like
Loadstar. I also appreciate your
"GoDot intro" article. It's just the
right words at the right place that
makes things go, and your words
couldn't have been chosen more
accurately. Thank you for this also!
And now to something I have to
apologize for: "ldr.Loadstar" has a
bug in it! I loaded the Xmas SHP's on
the disks to GoDot and was puzzled
that some of them didn't display
correctly. I then started Loadstar to
see whether they were wrong from
Loadstar, too. Of course, they were
not.
So, what was the bug? I suspected
the background color being improperly
set by the image data file itself, and
yep! I was right: where there should
be $01 (for "white") I found $f1! The
upper nibble had not been zeroed (for
any reason; maybe the upper nibble
contains the border color?). This is
really my fault, because I [know] this
kind of bug, I've had to correct it
already [several] times. In short, I
didn't AND the upper 4 bits off.
The loader will immediately be
published on my site. I would ask you
to put it on your next Loadstar disk
also to provide best stuff. Again, I'm
sorry for inconveniences.
[Dave Here:]
Thank you for the kind words! Bugs
we know and the beautiful thing about
a C-64 computer is that no matter how
badly we mess things up, we can always
shut off the power, turn it back on,
and have a friendly and willing READY
prompt waiting for us!
The beautiful thing about GoDot is
that loading and saving the many C-64
and PC graphic formats is done through
plug-in modules ("ldr.Loadstar" being
the one that loads our SHP files)
which can be upgraded.
So the file "ldr.Loadstar" is on
this disk. Use it to replace the file
of the same name on your GoDot work
disk. Suddenly, all is well with the
world.
[Back to Arndt:]
By the way, you described in your
intro how you worked on the photo of
you and your wife and mentioned you
had to get rid of some green spots in
the image.
Well, for this purpose the best
thing to use is "mod..Histogram". It
provides functions to swap two colors,
or to join one or more colors to a
third one. Just this function would be
most appropriate here. Join green to
the color that surrounds this green,
and then green has vanished with no
tracks left. :)
[Dave Again:]
Ah Hah! Here lies the power of
GoDot! Every pixel contains its own
color information -- four bits (0 -
15) for each pixel. The Histogram
function described above can go
through the entire graphic and look
for the value for Green and convert it
to the surrounding color.
There are still little touches one
might do with a bitmap editor,
especially when converting photos to
C-64 Multi-Color bitmap. But GoDot
solves much of the (otherwise) grunt
work.
And more! Look at the GoDot
Examples elsewhere on this issue. The
possibilities are fantastic.
AD & DMM